SET WINDOW LAYOUT

This command will set basic window properties.

  Syntax
SET WINDOW LAYOUT Style, Caption, Icon Number
  Parameters
Style
Integer
If the Style Flag is set to one the window is created with titlebar, minimise and close icons and an icon
Caption
Integer
If the Caption Flag is set to zero, the titlebar is removed from the window
Icon Number
Integer
If the Icon Number is zero, the icon reverts to the standard Windows application icon. A style value of 2 will hide the minimize button, a value of 3 will hide the resizable window border and a value of 4 will hide the maximise button

  Returns

This command does not return a value.

  Description

If the Style Flag is set to one the window is created with titlebar, minimise and close icons and an icon. If the Caption Flag is set to zero, the titlebar is removed from the window. If the Icon Number is zero, the icon reverts to the standard Windows application icon. A style value of 2 will hide the minimize button, a value of 3 will hide the resizable window border and a value of 4 will hide the maximise button. The legacy option to deactivate the close button has been discontinued.

  Example Code
cls
set display mode 800,600,32
set window on
set window layout 1,1,1
maximize window
do
loop
end
  See also

DISPLAY Commands Menu
Index